package com.ztmg.water.mapper.student;

import com.ztmg.water.model.student.StudentTicket;
import com.ztmg.water.model.student.StudentTicketExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface StudentTicketMapper {

    long countByExample(StudentTicketExample example);

    int deleteByExample(StudentTicketExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(StudentTicket record);

    int insertSelective(StudentTicket record);

    List<StudentTicket> selectByExample(StudentTicketExample example);

    StudentTicket selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") StudentTicket record, @Param("example") StudentTicketExample example);

    int updateByExample(@Param("record") StudentTicket record, @Param("example") StudentTicketExample example);

    int updateByPrimaryKeySelective(StudentTicket record);

    int updateByPrimaryKey(StudentTicket record);

    int selectCountByParams(Map<String,String> params);

    void updateTicketNums(Map<String,String> params);
}